<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">

<html><head><title>ACS_WinMedia - NewAC</title><link rel="stylesheet" type="text/css" href="../../styles/main.css"><script language=JavaScript src="../../javascript/main.js"></script><script language=JavaScript src="../../javascript/searchdata.js"></script></head><body class="ContentPage" onLoad="NDOnLoad()"><script language=JavaScript><!--
if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>

<!--  Generated by Natural Docs, version 1.4 -->
<!--  http://www.naturaldocs.org  -->

<!-- saved from url=(0026)http://www.naturaldocs.org -->




<div id=Content><div class="CSection"><div class=CTopic id=MainTopic><h1 class=CTitle><a name="ACS_WinMedia"></a>ACS_WinMedia</h1><div class=CBody><p>Delphi interface for Windows Media Audio (WMA) using Windows&rsquo; built-in codec.</p><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SMain"><td class=SEntry><a href="#ACS_WinMedia" >ACS_WinMedia</a></td><td class=SDescription>Delphi interface for Windows Media Audio (WMA) using Windows&rsquo; built-in codec.</td></tr><tr class="SClass"><td class=SEntry><a href="#TWMIn" >TWMIn</a></td><td class=SDescription>Windows Media Audio file/stream decoder. </td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#TWMIn.Properties" >Properties</a></td><td class=SDescription></td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#TWMIn.FormatsCount" id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">FormatsCount</a></td><td class=SDescription>WMA decoders allow the program to read input data in several formats (each format is a set of channels, bits per sample and sample rate numbers. </td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#TWMIn.FormatSpec[Index:Integer]" id=link2 onMouseOver="ShowTip(event, 'tt2', 'link2')" onMouseOut="HideTip('tt2')">FormatSpec[Index : Integer]</a></td><td class=SDescription>Read this property to get the parameters of the format specified by its Index. </td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#TWMIn.FormatSelected" id=link3 onMouseOver="ShowTip(event, 'tt3', 'link3')" onMouseOut="HideTip('tt3')">FormatSelected</a></td><td class=SDescription>Use this property to set the desired format for the decoder&rsquo;s output. </td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#TWMIn.HasAudio" id=link4 onMouseOver="ShowTip(event, 'tt4', 'link4')" onMouseOut="HideTip('tt4')">HasAudio</a></td><td class=SDescription>Read this property to determine if the input file has an audio stream. </td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#TWMIn.IsProtected" id=link5 onMouseOver="ShowTip(event, 'tt5', 'link5')" onMouseOut="HideTip('tt5')">IsProtected</a></td><td class=SDescription>If the value of this property is True, the file is DRM-protected and hence not supported. </td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#TWMIn.Bitrate" id=link6 onMouseOver="ShowTip(event, 'tt6', 'link6')" onMouseOut="HideTip('tt6')">Bitrate</a></td><td class=SDescription>Read this property to get the file&rsquo;s bitrate.</td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#TWMIn.Id3v2Tags" id=link7 onMouseOver="ShowTip(event, 'tt7', 'link7')" onMouseOut="HideTip('tt7')">Id3v2Tags</a></td><td class=SDescription>This property contains file&rsquo;s tags in Id3v2 format.</td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#TWMIn.IsVBR" id=link8 onMouseOver="ShowTip(event, 'tt8', 'link8')" onMouseOut="HideTip('tt8')">IsVBR</a></td><td class=SDescription>This property&rsquo;s value is True if the input file is VBR-encoded and False otherwise.</td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#TWMIn.HighPrecision" id=link9 onMouseOver="ShowTip(event, 'tt9', 'link9')" onMouseOut="HideTip('tt9')">HighPrecision</a></td><td class=SDescription>Use HighPrecision to set the high precision decoding mode on or off. </td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#TWMIn.OutputChannels" id=link10 onMouseOver="ShowTip(event, 'tt10', 'link10')" onMouseOut="HideTip('tt10')">OutputChannels</a></td><td class=SDescription>Sets the number of channels for decoder output.</td></tr><tr class="SClass"><td class=SEntry><a href="#TWMAOut" >TWMAOut</a></td><td class=SDescription>Windows Media Audio file/stream encoder. </td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#TWMAOut.Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#TWMAOut.GetFormatDesc" id=link11 onMouseOver="ShowTip(event, 'tt11', 'link11')" onMouseOut="HideTip('tt11')">GetFormatDesc</a></td><td class=SDescription>This method returns a format description based on the CodecIndex and FormatIndex parameters.</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#TWMAOut.Properties" >Properties</a></td><td class=SDescription></td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#TWMAOut.Codecs" id=link12 onMouseOver="ShowTip(event, 'tt12', 'link12')" onMouseOut="HideTip('tt12')">Codecs</a></td><td class=SDescription>Returns the names of all the WMA codecs installed in the system.</td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#TWMAOut.CodecsCount" id=link13 onMouseOver="ShowTip(event, 'tt13', 'link13')" onMouseOut="HideTip('tt13')">CodecsCount</a></td><td class=SDescription>Returns the total number of the WMA codecs available in the system.</td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#TWMAOut.CodecIndex" id=link14 onMouseOver="ShowTip(event, 'tt14', 'link14')" onMouseOut="HideTip('tt14')">CodecIndex</a></td><td class=SDescription>Use this property to set the index number of the codec to use when encoding. </td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#TWMAOut.CodecName" id=link15 onMouseOver="ShowTip(event, 'tt15', 'link15')" onMouseOut="HideTip('tt15')">CodecName</a></td><td class=SDescription>Returns the name of the WMA codec specified by its index. </td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#TWMAOut.FormatIndex" id=link16 onMouseOver="ShowTip(event, 'tt16', 'link16')" onMouseOut="HideTip('tt16')">FormatIndex</a></td><td class=SDescription>Use this property to set the index of the format to encode data. </td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#TWMAOut.Formats" id=link17 onMouseOver="ShowTip(event, 'tt17', 'link17')" onMouseOut="HideTip('tt17')">Formats</a></td><td class=SDescription>Returns the names of all formats supported by the codec, specified by the Index and the current encoding mode. </td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#TWMAOut.FormatsCount" id=link18 onMouseOver="ShowTip(event, 'tt18', 'link18')" onMouseOut="HideTip('tt18')">FormatsCount</a></td><td class=SDescription>Returns the total number of formats supported by the codec, specified by its index, and the current encoding mode. </td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#TWMAOut.Id3v2Tags" id=link19 onMouseOver="ShowTip(event, 'tt19', 'link19')" onMouseOut="HideTip('tt19')">Id3v2Tags</a></td><td class=SDescription>Set an output file&rsquo;s tags in Id3v2 format.</td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#TWMAOut.DesiredBitrate" id=link20 onMouseOver="ShowTip(event, 'tt20', 'link20')" onMouseOut="HideTip('tt20')">DesiredBitrate</a></td><td class=SDescription>Set the desired bitrate for an output file (in the constant bitrate lossy mode). </td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#TWMAOut.Lossless" id=link21 onMouseOver="ShowTip(event, 'tt21', 'link21')" onMouseOut="HideTip('tt21')">Lossless</a></td><td class=SDescription>Use this property to switch between the lossless and lossy compression modes. </td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#TWMAOut.VBR" id=link22 onMouseOver="ShowTip(event, 'tt22', 'link22')" onMouseOut="HideTip('tt22')">VBR</a></td><td class=SDescription>Use this property to switch between constant bitrate and variable bitrate lossy encoding modes. </td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#TWMAOut.VBRQuality" id=link23 onMouseOver="ShowTip(event, 'tt23', 'link23')" onMouseOut="HideTip('tt23')">VBRQuality</a></td><td class=SDescription>Use this property to set the output audio quality in VBR mode. </td></tr><tr class="SGeneric SIndent2 SMarked"><td class=SEntry><a href="#TWMAOut.A_Note_on_Windows_Media_Formats" >A Note on Windows Media Formats</a></td><td class=SDescription>The <a href="#TWMAOut.VBR" class=LProperty id=link24 onMouseOver="ShowTip(event, 'tt22', 'link24')" onMouseOut="HideTip('tt22')">VBR</a> and <a href="#TWMAOut.Lossless" class=LProperty id=link25 onMouseOver="ShowTip(event, 'tt21', 'link25')" onMouseOut="HideTip('tt21')">Lossless</a> settings affect the values of <a href="#TWMAOut.Formats" class=LProperty id=link26 onMouseOver="ShowTip(event, 'tt17', 'link26')" onMouseOut="HideTip('tt17')">Formats</a> and <a href="#TWMAOut.FormatsCount" class=LProperty id=link27 onMouseOver="ShowTip(event, 'tt18', 'link27')" onMouseOut="HideTip('tt18')">FormatsCount</a> properies. </td></tr><tr class="SClass"><td class=SEntry><a href="#TWMATap" >TWMATap</a></td><td class=SDescription>Descends from <a href="ACS_Classes-pas.html#TAudioTap" class=LClass id=link28 onMouseOver="ShowTip(event, 'tt24', 'link28')" onMouseOut="HideTip('tt24')">TAudioTap</a>. </td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#TWMATap.Properties" >Properties</a></td><td class=SDescription></td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#TWMATap.Id3v2Tags" id=link29 onMouseOver="ShowTip(event, 'tt25', 'link29')" onMouseOut="HideTip('tt25')">Id3v2Tags</a></td><td class=SDescription>Set an output file&rsquo;s tags in Id3v2 format.</td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#TWMATap.DesiredBitrate" id=link30 onMouseOver="ShowTip(event, 'tt26', 'link30')" onMouseOut="HideTip('tt26')">DesiredBitrate</a></td><td class=SDescription>Set the desired bitrate for an output file (in the constant bitrate lossy mode). </td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#TWMATap.Lossless" id=link31 onMouseOver="ShowTip(event, 'tt27', 'link31')" onMouseOut="HideTip('tt27')">Lossless</a></td><td class=SDescription>Use this property to switch between the lossless and lossy compression modes. </td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#TWMATap.VBR" id=link32 onMouseOver="ShowTip(event, 'tt28', 'link32')" onMouseOut="HideTip('tt28')">VBR</a></td><td class=SDescription>Use this property to switch between constant bitrate and variable bitrate lossy encoding modes. </td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#TWMATap.VBRQuality" id=link33 onMouseOver="ShowTip(event, 'tt29', 'link33')" onMouseOut="HideTip('tt29')">VBRQuality</a></td><td class=SDescription>Use this property to set the output audio quality in VBR mode. </td></tr><tr class="SClass"><td class=SEntry><a href="#TWMStreamedIn" >TWMStreamedIn</a></td><td class=SDescription></td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#TWMStreamedIn.Properties" >Properties</a></td><td class=SDescription></td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#TWMStreamedIn.HasAudio" id=link34 onMouseOver="ShowTip(event, 'tt30', 'link34')" onMouseOut="HideTip('tt30')">HasAudio</a></td><td class=SDescription>Read this property to determine if the input file has an audio stream. </td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#TWMStreamedIn.Bitrate" id=link35 onMouseOver="ShowTip(event, 'tt31', 'link35')" onMouseOut="HideTip('tt31')">Bitrate</a></td><td class=SDescription>Read this property to get the file&rsquo;s bitrate. </td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#TWMStreamedIn.Id3v2Tags" id=link36 onMouseOver="ShowTip(event, 'tt32', 'link36')" onMouseOut="HideTip('tt32')">Id3v2Tags</a></td><td class=SDescription>This property contains file&rsquo;s tags in Id3v2 format.</td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#TWMStreamedIn.TimedOut" id=link37 onMouseOver="ShowTip(event, 'tt33', 'link37')" onMouseOut="HideTip('tt33')">TimedOut</a></td><td class=SDescription>This property indicates if some network operation has timed out. </td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#TWMStreamedIn.BufferingTime" id=link38 onMouseOver="ShowTip(event, 'tt34', 'link38')" onMouseOut="HideTip('tt34')">BufferingTime</a></td><td class=SDescription>This property allows you to set the size of internal buffer in terms of playback duration. </td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#TWMStreamedIn.EnableHTTP" id=link39 onMouseOver="ShowTip(event, 'tt35', 'link39')" onMouseOut="HideTip('tt35')">EnableHTTP</a></td><td class=SDescription>Use this property to enable or disable HTTP support. </td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#TWMStreamedIn.EnableTCP" id=link40 onMouseOver="ShowTip(event, 'tt36', 'link40')" onMouseOut="HideTip('tt36')">EnableTCP</a></td><td class=SDescription>Use this property to enable or disable TCP support. </td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#TWMStreamedIn.EnableUDP" id=link41 onMouseOver="ShowTip(event, 'tt37', 'link41')" onMouseOut="HideTip('tt37')">EnableUDP</a></td><td class=SDescription>Use this property to enable or disable UDP support. </td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#TWMStreamedIn.LoggingURL" id=link42 onMouseOver="ShowTip(event, 'tt38', 'link42')" onMouseOut="HideTip('tt38')">LoggingURL</a></td><td class=SDescription>Use this property to set a logging URL, if you have one. </td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#TWMStreamedIn.MaxWaitMilliseconds" id=link43 onMouseOver="ShowTip(event, 'tt39', 'link43')" onMouseOut="HideTip('tt39')">MaxWaitMilliseconds</a></td><td class=SDescription>This property allows you to set the maximum waiting time for some network operations to complete. </td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#TWMStreamedIn.ProxyProtocol" id=link44 onMouseOver="ShowTip(event, 'tt40', 'link44')" onMouseOut="HideTip('tt40')">ProxyProtocol</a></td><td class=SDescription>If your application requires a proxy to connect to Internet, use this property to set the proxy protocol.</td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#TWMStreamedIn.ProxyHost" id=link45 onMouseOver="ShowTip(event, 'tt41', 'link45')" onMouseOut="HideTip('tt41')">ProxyHost</a></td><td class=SDescription>If your application requires a proxy to connect to Internet, use this property to set the proxy host name.</td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#TWMStreamedIn.ProxyPort" id=link46 onMouseOver="ShowTip(event, 'tt42', 'link46')" onMouseOut="HideTip('tt42')">ProxyPort</a></td><td class=SDescription>If your application requires a proxy to connect to Internet, use this property to set the proxy port value.</td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#TWMStreamedIn.StretchFactor" id=link47 onMouseOver="ShowTip(event, 'tt43', 'link47')" onMouseOut="HideTip('tt43')">StretchFactor</a></td><td class=SDescription>Use this property to change the speed at with content is delivered to the component. </td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#TWMStreamedIn.OnStreamOpened" id=link48 onMouseOver="ShowTip(event, 'tt44', 'link48')" onMouseOut="HideTip('tt44')">OnStreamOpened</a></td><td class=SDescription>This event informs you that the audio stream has been opened successfully.</td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#TWMStreamedIn.OnStartedPlaying" id=link49 onMouseOver="ShowTip(event, 'tt45', 'link49')" onMouseOut="HideTip('tt45')">OnStartedPlaying</a></td><td class=SDescription>This event informs you that the decoder has decoded the first chunk of audio data.</td></tr><tr class="SClass"><td class=SEntry><a href="#TWMStreamedOut" >TWMStreamedOut</a></td><td class=SDescription>This component can stream Windows Media audio over HTTP in local or global networks. </td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#TWMStreamedOut.Properties" >Properties</a></td><td class=SDescription></td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#TWMStreamedOut.ConnectionsCount" id=link50 onMouseOver="ShowTip(event, 'tt46', 'link50')" onMouseOut="HideTip('tt46')">ConnectionsCount</a></td><td class=SDescription>The number of incoming connections.</td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#TWMStreamedOut.Connections[Index:Integer]" id=link51 onMouseOver="ShowTip(event, 'tt47', 'link51')" onMouseOut="HideTip('tt47')">Connections[Index : Integer]</a></td><td class=SDescription>Use this property to get an information about an incoming connection. </td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#TWMStreamedOut.URL" id=link52 onMouseOver="ShowTip(event, 'tt48', 'link52')" onMouseOut="HideTip('tt48')">URL</a></td><td class=SDescription>Use this property to get the transmitting host URL. </td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#TWMStreamedOut.MaxClients" id=link53 onMouseOver="ShowTip(event, 'tt49', 'link53')" onMouseOut="HideTip('tt49')">MaxClients</a></td><td class=SDescription>The maximum number of incoming connctions allowed. </td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#TWMStreamedOut.Port" id=link54 onMouseOver="ShowTip(event, 'tt50', 'link54')" onMouseOut="HideTip('tt50')">Port</a></td><td class=SDescription>The number of port on which the component will listen for incoming connections.</td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#TWMStreamedOut.OnClientConnected" id=link55 onMouseOver="ShowTip(event, 'tt51', 'link55')" onMouseOut="HideTip('tt51')">OnClientConnected</a></td><td class=SDescription>The OnClientConnected event is raised when a new client connects to the transmitter.</td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#TWMStreamedOut.OnClientDisconnected" id=link56 onMouseOver="ShowTip(event, 'tt52', 'link56')" onMouseOut="HideTip('tt52')">OnClientDisconnected</a></td><td class=SDescription>The OnClientDisconnected event is raised when a client disconnects from the transmitter.</td></tr><tr class="SClass"><td class=SEntry><a href="#TWMADualPassOut" >TWMADualPassOut</a></td><td class=SDescription>This component implements Windows Media Audio 2-pass encoder. </td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#TWMADualPassOut.Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#TWMADualPassOut.GetFormatDesc" id=link57 onMouseOver="ShowTip(event, 'tt53', 'link57')" onMouseOut="HideTip('tt53')">GetFormatDesc</a></td><td class=SDescription>This method returns a format description based on the CodecIndex and FormatIndex parameters.</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#TWMADualPassOut.Properties" >Properties</a></td><td class=SDescription></td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#TWMADualPassOut.Codecs" id=link58 onMouseOver="ShowTip(event, 'tt54', 'link58')" onMouseOut="HideTip('tt54')">Codecs</a></td><td class=SDescription>Returns the names of all the WMA codecs installed in the system.</td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#TWMADualPassOut.CodecsCount" id=link59 onMouseOver="ShowTip(event, 'tt55', 'link59')" onMouseOut="HideTip('tt55')">CodecsCount</a></td><td class=SDescription>Returns the total number of the WMA codecs available in the system.</td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#TWMADualPassOut.CodecIndex" id=link60 onMouseOver="ShowTip(event, 'tt56', 'link60')" onMouseOut="HideTip('tt56')">CodecIndex</a></td><td class=SDescription>Use this property to set the index number of the codec to use when encoding. </td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#TWMADualPassOut.CodecName" id=link61 onMouseOver="ShowTip(event, 'tt57', 'link61')" onMouseOut="HideTip('tt57')">CodecName</a></td><td class=SDescription>Returns the name of the WMA codec specified by its index. </td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#TWMADualPassOut.FormatIndex" id=link62 onMouseOver="ShowTip(event, 'tt58', 'link62')" onMouseOut="HideTip('tt58')">FormatIndex</a></td><td class=SDescription>Use this property to set the index of the format to encode data. </td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#TWMADualPassOut.Formats" id=link63 onMouseOver="ShowTip(event, 'tt59', 'link63')" onMouseOut="HideTip('tt59')">Formats</a></td><td class=SDescription>Returns the names of all formats supported by the codec, specified by the Index and the current encoding mode. </td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#TWMADualPassOut.FormatsCount" id=link64 onMouseOver="ShowTip(event, 'tt60', 'link64')" onMouseOut="HideTip('tt60')">FormatsCount</a></td><td class=SDescription>Returns the total number of formats supported by the codec, specified by its index, and the current encoding mode. </td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#TWMADualPassOut.Id3v2Tags" id=link65 onMouseOver="ShowTip(event, 'tt61', 'link65')" onMouseOut="HideTip('tt61')">Id3v2Tags</a></td><td class=SDescription>Set an output file&rsquo;s tags in Id3v2 format.</td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#TWMADualPassOut.VBR" id=link66 onMouseOver="ShowTip(event, 'tt62', 'link66')" onMouseOut="HideTip('tt62')">VBR</a></td><td class=SDescription>Use this property to switch between constant bitrate and variable bitrate encoding modes.</td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>

<div class="CClass"><div class=CTopic><h2 class=CTitle><a name="TWMIn"></a>TWMIn</h2><div class=CBody><p>Windows Media Audio file/stream decoder.&nbsp; This component can read not only WMA files but sound tracks from WMV files as well.&nbsp; It can also read mp3 files.&nbsp; Descends from <a href="ACS_Classes-pas.html#TAuTaggedFileIn" class=LClass id=link77 onMouseOver="ShowTip(event, 'tt63', 'link77')" onMouseOut="HideTip('tt63')">TAuTaggedFileIn</a> .</p><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SGroup"><td class=SEntry><a href="#TWMIn.Properties" >Properties</a></td><td class=SDescription></td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#TWMIn.FormatsCount" id=link67 onMouseOver="ShowTip(event, 'tt1', 'link67')" onMouseOut="HideTip('tt1')">FormatsCount</a></td><td class=SDescription>WMA decoders allow the program to read input data in several formats (each format is a set of channels, bits per sample and sample rate numbers. </td></tr><tr class="SProperty SIndent1"><td class=SEntry><a href="#TWMIn.FormatSpec[Index:Integer]" id=link68 onMouseOver="ShowTip(event, 'tt2', 'link68')" onMouseOut="HideTip('tt2')">FormatSpec[Index : Integer]</a></td><td class=SDescription>Read this property to get the parameters of the format specified by its Index. </td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#TWMIn.FormatSelected" id=link69 onMouseOver="ShowTip(event, 'tt3', 'link69')" onMouseOut="HideTip('tt3')">FormatSelected</a></td><td class=SDescription>Use this property to set the desired format for the decoder&rsquo;s output. </td></tr><tr class="SProperty SIndent1"><td class=SEntry><a href="#TWMIn.HasAudio" id=link70 onMouseOver="ShowTip(event, 'tt4', 'link70')" onMouseOut="HideTip('tt4')">HasAudio</a></td><td class=SDescription>Read this property to determine if the input file has an audio stream. </td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#TWMIn.IsProtected" id=link71 onMouseOver="ShowTip(event, 'tt5', 'link71')" onMouseOut="HideTip('tt5')">IsProtected</a></td><td class=SDescription>If the value of this property is True, the file is DRM-protected and hence not supported. </td></tr><tr class="SProperty SIndent1"><td class=SEntry><a href="#TWMIn.Bitrate" id=link72 onMouseOver="ShowTip(event, 'tt6', 'link72')" onMouseOut="HideTip('tt6')">Bitrate</a></td><td class=SDescription>Read this property to get the file&rsquo;s bitrate.</td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#TWMIn.Id3v2Tags" id=link73 onMouseOver="ShowTip(event, 'tt7', 'link73')" onMouseOut="HideTip('tt7')">Id3v2Tags</a></td><td class=SDescription>This property contains file&rsquo;s tags in Id3v2 format.</td></tr><tr class="SProperty SIndent1"><td class=SEntry><a href="#TWMIn.IsVBR" id=link74 onMouseOver="ShowTip(event, 'tt8', 'link74')" onMouseOut="HideTip('tt8')">IsVBR</a></td><td class=SDescription>This property&rsquo;s value is True if the input file is VBR-encoded and False otherwise.</td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#TWMIn.HighPrecision" id=link75 onMouseOver="ShowTip(event, 'tt9', 'link75')" onMouseOut="HideTip('tt9')">HighPrecision</a></td><td class=SDescription>Use HighPrecision to set the high precision decoding mode on or off. </td></tr><tr class="SProperty SIndent1"><td class=SEntry><a href="#TWMIn.OutputChannels" id=link76 onMouseOver="ShowTip(event, 'tt10', 'link76')" onMouseOut="HideTip('tt10')">OutputChannels</a></td><td class=SDescription>Sets the number of channels for decoder output.</td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>

<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="TWMIn.Properties"></a>Properties</h3></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMIn.FormatsCount"></a>FormatsCount</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property FormatsCount : LongWord read GetFormatsCount</td></tr></table></blockquote><p>WMA decoders allow the program to read input data in several formats (each format is a set of channels, bits per sample and sample rate numbers.&nbsp; Read this property to get the total number of formats available.</p><p>Note: the number of formats provided by the encoder depends on the <a href="#TWMIn.HighPrecision" class=LProperty id=link78 onMouseOver="ShowTip(event, 'tt9', 'link78')" onMouseOut="HideTip('tt9')">HighPrecision</a> value (formats with 24 bps and more than 2 channels will be available only if HighPrecision is set to True).</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMIn.FormatSpec[Index:Integer]"></a>FormatSpec[Index : Integer]</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property FormatSpec[Index : Integer] : TWMAFormatSpec read GetFormatSpec</td></tr></table></blockquote><p>Read this property to get the parameters of the format specified by its Index.&nbsp; Valid Index values range from 0 to <a href="#TWMIn.FormatsCount" class=LProperty id=link79 onMouseOver="ShowTip(event, 'tt1', 'link79')" onMouseOut="HideTip('tt1')">FormatsCount</a> - 1.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMIn.FormatSelected"></a>FormatSelected</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property FormatSelected : Integer read FFormat write SetFormat</td></tr></table></blockquote><p>Use this property to set the desired format for the decoder&rsquo;s output.&nbsp; Valid values range from 0 to <a href="#TWMIn.FormatsCount" class=LProperty id=link80 onMouseOver="ShowTip(event, 'tt1', 'link80')" onMouseOut="HideTip('tt1')">FormatsCount</a> - 1.&nbsp; There is also a special constant - wmfDefault.&nbsp; If you set the property value to wmfDefault the output audio format will be the &ldquo;main format&rdquo;, the one that was used when the file was encoded.&nbsp; This property affects the &lt;Channels&gt;, &lt;BitsPerSample&gt;, &lt;SampleRate&gt;, &lt;Size&gt;, and &lt;TotalSamples&gt; properties.&nbsp; Setting this property value overrides <a href="#TWMIn.OutputChannels" class=LProperty id=link81 onMouseOver="ShowTip(event, 'tt10', 'link81')" onMouseOut="HideTip('tt10')">OutputChannels</a>&rsquo;s value.&nbsp; Set this property value before you call Run for the corresponding output component.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMIn.HasAudio"></a>HasAudio</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property HasAudio : Boolean read GetHasAudio</td></tr></table></blockquote><p>Read this property to determine if the input file has an audio stream.&nbsp; The False value indicates that either an audio stream is missing (in WMV file) or the input file is corrupt.</p><h4 class=CHeading>Note</h4><p>Windows Media files may contain several audio streams.&nbsp; In the current version TWMIn reads data only from the first audio stream it finds.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMIn.IsProtected"></a>IsProtected</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property IsProtected : Boolean read GetProtected</td></tr></table></blockquote><p>If the value of this property is True, the file is DRM-protected and hence not supported.&nbsp; This property has no meaning for mp3 files.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMIn.Bitrate"></a>Bitrate</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property Bitrate : LongWord read GetBitrate</td></tr></table></blockquote><p>Read this property to get the file&rsquo;s bitrate.</p><h4 class=CHeading>Note</h4><p>For video and multi-streamed files the total bitrate is returned.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMIn.Id3v2Tags"></a>Id3v2Tags</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property Id3v2Tags : TId3v2Tags read GetId3v2Tags</td></tr></table></blockquote><p>This property contains file&rsquo;s tags in Id3v2 format.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMIn.IsVBR"></a>IsVBR</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property IsVBR : Boolean read GetIsVBR</td></tr></table></blockquote><p>This property&rsquo;s value is True if the input file is VBR-encoded and False otherwise.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMIn.HighPrecision"></a>HighPrecision</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property HighPrecision : Boolean read FHighPrecision write SetHighPrecision</td></tr></table></blockquote><p>Use HighPrecision to set the high precision decoding mode on or off.&nbsp; In normal precision mode the decoder will produce only 16-bit 1 or 2 channel output, even if the input file is 24-bit multi-channel.&nbsp; If you want to obtain 24-bit sound or more than two channels, set HighPrecision to True.&nbsp; This property is set to True automatically if you assign to the <a href="#TWMIn.OutputChannels" class=LProperty id=link82 onMouseOver="ShowTip(event, 'tt10', 'link82')" onMouseOut="HideTip('tt10')">OutputChannels</a> property some value other than cnMonoOrStereo.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMIn.OutputChannels"></a>OutputChannels</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property OutputChannels : TChannelsNumber read FOutputChannels write SetOutputChannels</td></tr></table></blockquote><p>Sets the number of channels for decoder output.</p><h4 class=CHeading>Possible values are</h4><ul><li>cnMaxAvailable - decoder produces all the channels present in the input file.</li><li>cnMonoOrStereo - decoder produces mono audio stream for mono input file and stereo for everything else.</li><li>cn5dot1 - decoder will produce 5.1 multi-channel output if the input file has enough channels in it.</li><li>cn7dot1 - decoder will produce 7.1 multi-channel output if the input file has enough channels in it.</li></ul><p>Use cnMaxAvailable value if you don&rsquo;t know how many channels the input file contains and want to play all of them.&nbsp; Note however that cnMaxAvailable upsamples audio ooutput (usually to 48000 Hz) which is not always desirable.&nbsp; Use cnMonoOrStereo if you want your output to be always mono or stereo (this mode is useful if you play sound on the hardware that doesn&rsquo;t support multiple channels).&nbsp; If the input file is multi-channel and cnMonoOrStereo mode is selected, the channels will be mixed into stereo.&nbsp; Use cn5dot1 if you are sure that the inpt file contains at least 6 channels.&nbsp; Forsing 6 channels ouput on the file that doesn&rsquo;t have enough channels may cause crash.&nbsp; Use cn7dot1 if you are sure that the inpt file contains at least 8 channels.&nbsp; Forsing 8 channels on the file that doesn&rsquo;t have them may cause crash.&nbsp; See also the <a href="#TWMIn.HighPrecision" class=LProperty id=link83 onMouseOver="ShowTip(event, 'tt9', 'link83')" onMouseOut="HideTip('tt9')">HighPrecision</a> property.</p></div></div></div>

<div class="CClass"><div class=CTopic><h2 class=CTitle><a name="TWMAOut"></a>TWMAOut</h2><div class=CBody><p>Windows Media Audio file/stream encoder.&nbsp; This component supports CBR/VBR, lossy/lossless encoding.&nbsp; There are two mutually exclusive groups of properties affecting the output audio quality.&nbsp; One group allows you to set output file bitrate or quality and let the component select the most appropriate codec.&nbsp; The other group allows you to specify the codec and format directly.&nbsp; This component descends from <a href="ACS_Classes-pas.html#TAuTaggedFileOut" class=LClass id=link101 onMouseOver="ShowTip(event, 'tt64', 'link101')" onMouseOut="HideTip('tt64')">TAuTaggedFileOut</a>.</p><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SGroup"><td class=SEntry><a href="#TWMAOut.Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#TWMAOut.GetFormatDesc" id=link84 onMouseOver="ShowTip(event, 'tt11', 'link84')" onMouseOut="HideTip('tt11')">GetFormatDesc</a></td><td class=SDescription>This method returns a format description based on the CodecIndex and FormatIndex parameters.</td></tr><tr class="SGroup"><td class=SEntry><a href="#TWMAOut.Properties" >Properties</a></td><td class=SDescription></td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#TWMAOut.Codecs" id=link85 onMouseOver="ShowTip(event, 'tt12', 'link85')" onMouseOut="HideTip('tt12')">Codecs</a></td><td class=SDescription>Returns the names of all the WMA codecs installed in the system.</td></tr><tr class="SProperty SIndent1"><td class=SEntry><a href="#TWMAOut.CodecsCount" id=link86 onMouseOver="ShowTip(event, 'tt13', 'link86')" onMouseOut="HideTip('tt13')">CodecsCount</a></td><td class=SDescription>Returns the total number of the WMA codecs available in the system.</td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#TWMAOut.CodecIndex" id=link87 onMouseOver="ShowTip(event, 'tt14', 'link87')" onMouseOut="HideTip('tt14')">CodecIndex</a></td><td class=SDescription>Use this property to set the index number of the codec to use when encoding. </td></tr><tr class="SProperty SIndent1"><td class=SEntry><a href="#TWMAOut.CodecName" id=link88 onMouseOver="ShowTip(event, 'tt15', 'link88')" onMouseOut="HideTip('tt15')">CodecName</a></td><td class=SDescription>Returns the name of the WMA codec specified by its index. </td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#TWMAOut.FormatIndex" id=link89 onMouseOver="ShowTip(event, 'tt16', 'link89')" onMouseOut="HideTip('tt16')">FormatIndex</a></td><td class=SDescription>Use this property to set the index of the format to encode data. </td></tr><tr class="SProperty SIndent1"><td class=SEntry><a href="#TWMAOut.Formats" id=link90 onMouseOver="ShowTip(event, 'tt17', 'link90')" onMouseOut="HideTip('tt17')">Formats</a></td><td class=SDescription>Returns the names of all formats supported by the codec, specified by the Index and the current encoding mode. </td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#TWMAOut.FormatsCount" id=link91 onMouseOver="ShowTip(event, 'tt18', 'link91')" onMouseOut="HideTip('tt18')">FormatsCount</a></td><td class=SDescription>Returns the total number of formats supported by the codec, specified by its index, and the current encoding mode. </td></tr><tr class="SProperty SIndent1"><td class=SEntry><a href="#TWMAOut.Id3v2Tags" id=link92 onMouseOver="ShowTip(event, 'tt19', 'link92')" onMouseOut="HideTip('tt19')">Id3v2Tags</a></td><td class=SDescription>Set an output file&rsquo;s tags in Id3v2 format.</td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#TWMAOut.DesiredBitrate" id=link93 onMouseOver="ShowTip(event, 'tt20', 'link93')" onMouseOut="HideTip('tt20')">DesiredBitrate</a></td><td class=SDescription>Set the desired bitrate for an output file (in the constant bitrate lossy mode). </td></tr><tr class="SProperty SIndent1"><td class=SEntry><a href="#TWMAOut.Lossless" id=link94 onMouseOver="ShowTip(event, 'tt21', 'link94')" onMouseOut="HideTip('tt21')">Lossless</a></td><td class=SDescription>Use this property to switch between the lossless and lossy compression modes. </td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#TWMAOut.VBR" id=link95 onMouseOver="ShowTip(event, 'tt22', 'link95')" onMouseOut="HideTip('tt22')">VBR</a></td><td class=SDescription>Use this property to switch between constant bitrate and variable bitrate lossy encoding modes. </td></tr><tr class="SProperty SIndent1"><td class=SEntry><a href="#TWMAOut.VBRQuality" id=link96 onMouseOver="ShowTip(event, 'tt23', 'link96')" onMouseOut="HideTip('tt23')">VBRQuality</a></td><td class=SDescription>Use this property to set the output audio quality in VBR mode. </td></tr><tr class="SGeneric SIndent1 SMarked"><td class=SEntry><a href="#TWMAOut.A_Note_on_Windows_Media_Formats" >A Note on Windows Media Formats</a></td><td class=SDescription>The <a href="#TWMAOut.VBR" class=LProperty id=link97 onMouseOver="ShowTip(event, 'tt22', 'link97')" onMouseOut="HideTip('tt22')">VBR</a> and <a href="#TWMAOut.Lossless" class=LProperty id=link98 onMouseOver="ShowTip(event, 'tt21', 'link98')" onMouseOut="HideTip('tt21')">Lossless</a> settings affect the values of <a href="#TWMAOut.Formats" class=LProperty id=link99 onMouseOver="ShowTip(event, 'tt17', 'link99')" onMouseOut="HideTip('tt17')">Formats</a> and <a href="#TWMAOut.FormatsCount" class=LProperty id=link100 onMouseOver="ShowTip(event, 'tt18', 'link100')" onMouseOut="HideTip('tt18')">FormatsCount</a> properies. </td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>

<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="TWMAOut.Functions"></a>Functions</h3></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="TWMAOut.GetFormatDesc"></a>GetFormatDesc</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>function GetFormatDesc(</td><td class=PParameter nowrap>CodecIndex,</td><td class=PType nowrap>&nbsp;</td></tr><tr><td></td><td class=PParameter nowrap>FormatIndex :</td><td class=PType nowrap>&nbsp;Word</td><td class=PAfterParameters nowrap>) : String</td></tr></table></td></tr></table></blockquote><p>This method returns a format description based on the CodecIndex and FormatIndex parameters.</p></div></div></div>

<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="TWMAOut.Properties"></a>Properties</h3></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMAOut.Codecs"></a>Codecs</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property Codecs : TStringList read GetCodecs</td></tr></table></blockquote><p>Returns the names of all the WMA codecs installed in the system.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMAOut.CodecsCount"></a>CodecsCount</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property CodecsCount : Word read GetCodecsCount</td></tr></table></blockquote><p>Returns the total number of the WMA codecs available in the system.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMAOut.CodecIndex"></a>CodecIndex</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property CodecIndex : Integer read FCodecIndex write FCodecIndex</td></tr></table></blockquote><p>Use this property to set the index number of the codec to use when encoding.&nbsp; The valid values for this property range from -1 to <a href="#TWMAOut.CodecsCount" class=LProperty id=link102 onMouseOver="ShowTip(event, 'tt13', 'link102')" onMouseOut="HideTip('tt13')">CodecsCount</a> - 1.&nbsp; If this property&rsquo;s value is set to -1 (the default setting), the <a href="#TWMAOut.FormatIndex" class=LProperty id=link103 onMouseOver="ShowTip(event, 'tt16', 'link103')" onMouseOut="HideTip('tt16')">FormatIndex</a> property is ignored and the codec is selected automatically by the component depending on <a href="#TWMAOut.DesiredBitrate" class=LProperty id=link104 onMouseOver="ShowTip(event, 'tt20', 'link104')" onMouseOut="HideTip('tt20')">DesiredBitrate</a> and <a href="#TWMAOut.VBRQuality" class=LProperty id=link105 onMouseOver="ShowTip(event, 'tt23', 'link105')" onMouseOut="HideTip('tt23')">VBRQuality</a> values.&nbsp; If this property&rsquo;s value is greater than -1, the <a href="#TWMAOut.DesiredBitrate" class=LProperty id=link106 onMouseOver="ShowTip(event, 'tt20', 'link106')" onMouseOut="HideTip('tt20')">DesiredBitrate</a> and <a href="#TWMAOut.VBRQuality" class=LProperty id=link107 onMouseOver="ShowTip(event, 'tt23', 'link107')" onMouseOut="HideTip('tt23')">VBRQuality</a> properties are ignored and CodecIndex along with <a href="#TWMAOut.FormatIndex" class=LProperty id=link108 onMouseOver="ShowTip(event, 'tt16', 'link108')" onMouseOut="HideTip('tt16')">FormatIndex</a> specify how audio data will be encoded.&nbsp; Wav2WMA-2 demo uses this method.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMAOut.CodecName"></a>CodecName</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property CodecName[Index : Word] : String read GetCodecName</td></tr></table></blockquote><p>Returns the name of the WMA codec specified by its index.&nbsp; The valid indices range from 0 to <a href="#TWMAOut.CodecsCount" class=LProperty id=link109 onMouseOver="ShowTip(event, 'tt13', 'link109')" onMouseOut="HideTip('tt13')">CodecsCount</a> -1.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMAOut.FormatIndex"></a>FormatIndex</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property FormatIndex : Integer read FFormatIndex write FFormatIndex</td></tr></table></blockquote><p>Use this property to set the index of the format to encode data.&nbsp; Valid values range from 0 to <a href="#TWMAOut.FormatsCount" class=LProperty id=link110 onMouseOver="ShowTip(event, 'tt18', 'link110')" onMouseOut="HideTip('tt18')">FormatsCount</a> -1.&nbsp; This property has an effect only if <a href="#TWMAOut.CodecIndex" class=LProperty id=link111 onMouseOver="ShowTip(event, 'tt14', 'link111')" onMouseOut="HideTip('tt14')">CodecIndex</a> is greater than -1.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMAOut.Formats"></a>Formats</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property Formats[Index : Word] : TStringList read GetFormats</td></tr></table></blockquote><p>Returns the names of all formats supported by the codec, specified by the Index and the current encoding mode.&nbsp; See the Wav2WMA2 demo for an example.&nbsp; See also <a href="#TWMAOut.A_Note_on_Windows_Media_Formats" class=LGeneric id=link112 onMouseOver="ShowTip(event, 'tt65', 'link112')" onMouseOut="HideTip('tt65')">A Note on Windows Media Formats</a>.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMAOut.FormatsCount"></a>FormatsCount</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property FormatsCount[index : Word] : Word read GetFormatsCount</td></tr></table></blockquote><p>Returns the total number of formats supported by the codec, specified by its index, and the current encoding mode.&nbsp; The valid indices range from 0 to <a href="#TWMAOut.CodecsCount" class=LProperty id=link113 onMouseOver="ShowTip(event, 'tt13', 'link113')" onMouseOut="HideTip('tt13')">CodecsCount</a> -1.&nbsp; Please see <a href="#TWMAOut.A_Note_on_Windows_Media_Formats" class=LGeneric id=link114 onMouseOver="ShowTip(event, 'tt65', 'link114')" onMouseOut="HideTip('tt65')">A Note on Windows Media Formats</a>.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMAOut.Id3v2Tags"></a>Id3v2Tags</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property Id3v2Tags</td></tr></table></blockquote><p>Set an output file&rsquo;s tags in Id3v2 format.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMAOut.DesiredBitrate"></a>DesiredBitrate</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property DesiredBitrate : LongWord read FBitrate write FBitrate</td></tr></table></blockquote><p>Set the desired bitrate for an output file (in the constant bitrate lossy mode).&nbsp; The component will search for the best configuration matching your parameters, so the actual bitrate may be less than this value.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMAOut.Lossless"></a>Lossless</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property Lossless : Boolean read FLossless write FLossless</td></tr></table></blockquote><p>Use this property to switch between the lossless and lossy compression modes.&nbsp; In the lossless mode the <a href="#TWMAOut.DesiredBitrate" class=LProperty id=link115 onMouseOver="ShowTip(event, 'tt20', 'link115')" onMouseOut="HideTip('tt20')">DesiredBitrate</a> and <a href="#TWMAOut.VBRQuality" class=LProperty id=link116 onMouseOver="ShowTip(event, 'tt23', 'link116')" onMouseOut="HideTip('tt23')">VBRQuality</a> values are ignored.&nbsp; Lossless encoding is always VBR.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMAOut.VBR"></a>VBR</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property VBR : Boolean read FVBR write FVBR</td></tr></table></blockquote><p>Use this property to switch between constant bitrate and variable bitrate lossy encoding modes.&nbsp; In VBR mode <a href="#TWMAOut.DesiredBitrate" class=LProperty id=link117 onMouseOver="ShowTip(event, 'tt20', 'link117')" onMouseOut="HideTip('tt20')">DesiredBitrate</a> value is ignored.&nbsp; The quality of the output sound is defined by the <a href="#TWMAOut.VBRQuality" class=LProperty id=link118 onMouseOver="ShowTip(event, 'tt23', 'link118')" onMouseOut="HideTip('tt23')">VBRQuality</a> property.&nbsp; If you encode data by directly selecting the codec and format, note that the VBR setting affects <a href="#TWMAOut.Formats" class=LProperty id=link119 onMouseOver="ShowTip(event, 'tt17', 'link119')" onMouseOut="HideTip('tt17')">Formats</a> and <a href="#TWMAOut.FormatsCount" class=LProperty id=link120 onMouseOver="ShowTip(event, 'tt18', 'link120')" onMouseOut="HideTip('tt18')">FormatsCount</a> values for every codec.&nbsp; In the lossless mode the this property&rsquo;s value is ignored.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMAOut.VBRQuality"></a>VBRQuality</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property VBRQuality : Byte read FVBRQuality write FVBRQuality</td></tr></table></blockquote><p>Use this property to set the output audio quality in VBR mode.&nbsp; The valid values range from 1 to 99.&nbsp; This property only has an effect if <a href="#TWMAOut.VBR" class=LProperty id=link121 onMouseOver="ShowTip(event, 'tt22', 'link121')" onMouseOut="HideTip('tt22')">VBR</a> is set to True and <a href="#TWMAOut.Lossless" class=LProperty id=link122 onMouseOver="ShowTip(event, 'tt21', 'link122')" onMouseOut="HideTip('tt21')">Lossless</a> to False.</p></div></div></div>

<div class="CGeneric"><div class=CTopic><h3 class=CTitle><a name="TWMAOut.A_Note_on_Windows_Media_Formats"></a>A Note on Windows Media Formats</h3><div class=CBody><p>The <a href="#TWMAOut.VBR" class=LProperty id=link123 onMouseOver="ShowTip(event, 'tt22', 'link123')" onMouseOut="HideTip('tt22')">VBR</a> and <a href="#TWMAOut.Lossless" class=LProperty id=link124 onMouseOver="ShowTip(event, 'tt21', 'link124')" onMouseOut="HideTip('tt21')">Lossless</a> settings affect the values of <a href="#TWMAOut.Formats" class=LProperty id=link125 onMouseOver="ShowTip(event, 'tt17', 'link125')" onMouseOut="HideTip('tt17')">Formats</a> and <a href="#TWMAOut.FormatsCount" class=LProperty id=link126 onMouseOver="ShowTip(event, 'tt18', 'link126')" onMouseOut="HideTip('tt18')">FormatsCount</a> properies.&nbsp; For example, Windows Media Audio Lossless codec (which is VBR) will show any formats only if <a href="#TWMAOut.VBR" class=LProperty id=link127 onMouseOver="ShowTip(event, 'tt22', 'link127')" onMouseOut="HideTip('tt22')">VBR</a> or <a href="#TWMAOut.Lossless" class=LProperty id=link128 onMouseOver="ShowTip(event, 'tt21', 'link128')" onMouseOut="HideTip('tt21')">Lossless</a> property is set to True.&nbsp; Conversely, Windows Media Voice codec exposes only CBR formats.&nbsp; It will expose any formats only if <a href="#TWMAOut.VBR" class=LProperty id=link129 onMouseOver="ShowTip(event, 'tt22', 'link129')" onMouseOut="HideTip('tt22')">VBR</a> and <a href="#TWMAOut.Lossless" class=LProperty id=link130 onMouseOver="ShowTip(event, 'tt21', 'link130')" onMouseOut="HideTip('tt21')">Lossless</a> are both False.&nbsp;  You should  re-read the format-related properties each time you change either the <a href="#TWMAOut.VBR" class=LProperty id=link131 onMouseOver="ShowTip(event, 'tt22', 'link131')" onMouseOut="HideTip('tt22')">VBR</a> or <a href="#TWMAOut.Lossless" class=LProperty id=link132 onMouseOver="ShowTip(event, 'tt21', 'link132')" onMouseOut="HideTip('tt21')">Lossless</a> values.</p></div></div></div>

<div class="CClass"><div class=CTopic><h2 class=CTitle><a name="TWMATap"></a>TWMATap</h2><div class=CBody><p>Descends from <a href="ACS_Classes-pas.html#TAudioTap" class=LClass id=link138 onMouseOver="ShowTip(event, 'tt24', 'link138')" onMouseOut="HideTip('tt24')">TAudioTap</a>.&nbsp; This is one of the &ldquo;audio tap&rdquo; components that sit between input and output in the audio chain and optionally record the audio data passing through them into a file.&nbsp; This component records data into WMA files.</p><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SGroup"><td class=SEntry><a href="#TWMATap.Properties" >Properties</a></td><td class=SDescription></td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#TWMATap.Id3v2Tags" id=link133 onMouseOver="ShowTip(event, 'tt25', 'link133')" onMouseOut="HideTip('tt25')">Id3v2Tags</a></td><td class=SDescription>Set an output file&rsquo;s tags in Id3v2 format.</td></tr><tr class="SProperty SIndent1"><td class=SEntry><a href="#TWMATap.DesiredBitrate" id=link134 onMouseOver="ShowTip(event, 'tt26', 'link134')" onMouseOut="HideTip('tt26')">DesiredBitrate</a></td><td class=SDescription>Set the desired bitrate for an output file (in the constant bitrate lossy mode). </td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#TWMATap.Lossless" id=link135 onMouseOver="ShowTip(event, 'tt27', 'link135')" onMouseOut="HideTip('tt27')">Lossless</a></td><td class=SDescription>Use this property to switch between the lossless and lossy compression modes. </td></tr><tr class="SProperty SIndent1"><td class=SEntry><a href="#TWMATap.VBR" id=link136 onMouseOver="ShowTip(event, 'tt28', 'link136')" onMouseOut="HideTip('tt28')">VBR</a></td><td class=SDescription>Use this property to switch between constant bitrate and variable bitrate lossy encoding modes. </td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#TWMATap.VBRQuality" id=link137 onMouseOver="ShowTip(event, 'tt29', 'link137')" onMouseOut="HideTip('tt29')">VBRQuality</a></td><td class=SDescription>Use this property to set the output audio quality in VBR mode. </td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>

<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="TWMATap.Properties"></a>Properties</h3></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMATap.Id3v2Tags"></a>Id3v2Tags</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property Id3v2Tags : TId3v2Tags read FTags write SetId3v2Tags</td></tr></table></blockquote><p>Set an output file&rsquo;s tags in Id3v2 format.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMATap.DesiredBitrate"></a>DesiredBitrate</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property DesiredBitrate : LongWord read FBitrate write FBitrate</td></tr></table></blockquote><p>Set the desired bitrate for an output file (in the constant bitrate lossy mode).&nbsp; The component will search for the best configuration matching your parameters, so the actual bitrate may be less than this value.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMATap.Lossless"></a>Lossless</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property Lossless : Boolean read FLossless write FLossless</td></tr></table></blockquote><p>Use this property to switch between the lossless and lossy compression modes.&nbsp; In the lossless mode the <a href="#TWMATap.DesiredBitrate" class=LProperty id=link139 onMouseOver="ShowTip(event, 'tt26', 'link139')" onMouseOut="HideTip('tt26')">DesiredBitrate</a> and <a href="#TWMATap.VBRQuality" class=LProperty id=link140 onMouseOver="ShowTip(event, 'tt29', 'link140')" onMouseOut="HideTip('tt29')">VBRQuality</a> values are ignored.&nbsp; Lossless encoding is always VBR.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMATap.VBR"></a>VBR</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property VBR : Boolean read FVBR write FVBR</td></tr></table></blockquote><p>Use this property to switch between constant bitrate and variable bitrate lossy encoding modes.&nbsp; In VBR mode <a href="#TWMATap.DesiredBitrate" class=LProperty id=link141 onMouseOver="ShowTip(event, 'tt26', 'link141')" onMouseOut="HideTip('tt26')">DesiredBitrate</a> value is ignored.&nbsp; The quality of the output sound is defined by the <a href="#TWMATap.VBRQuality" class=LProperty id=link142 onMouseOver="ShowTip(event, 'tt29', 'link142')" onMouseOut="HideTip('tt29')">VBRQuality</a> property.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMATap.VBRQuality"></a>VBRQuality</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property VBRQuality : Byte read FVBRQuality write FVBRQuality</td></tr></table></blockquote><p>Use this property to set the output audio quality in VBR mode.&nbsp; The valid values range from 1 to 99.&nbsp; This property has any effect only if <a href="#TWMATap.VBR" class=LProperty id=link143 onMouseOver="ShowTip(event, 'tt28', 'link143')" onMouseOut="HideTip('tt28')">VBR</a> is set to True and <a href="#TWMATap.Lossless" class=LProperty id=link144 onMouseOver="ShowTip(event, 'tt27', 'link144')" onMouseOut="HideTip('tt27')">Lossless</a> to False.</p></div></div></div>

<div class="CClass"><div class=CTopic><h2 class=CTitle><a name="TWMStreamedIn"></a>TWMStreamedIn</h2><div class=CBody><h4 class=CHeading>Streamable WMA/MP3 decoder component.&nbsp; This component can do three things</h4><ul><li>decode wma and mp3 files stored on your hard drive.</li><li>decode wma and mp3 files stored at some network (http) location.&nbsp; The component starts downloading the file and decoding it simultaneously.</li><li>decode wma and mp3 audio streamed from &ldquo;live&rdquo; audio servers such as Internet radio servers.</li></ul><p>You should assign file or stream URL to the component&rsquo;s &lt;FileName&gt; property.</p><h4 class=CHeading>Important note</h4><p>Most links to Internet streamed media that you can find on Web sites point not to media itself but to wax, asx, or m3u shortcuts instead.&nbsp; These shortcuts contain information about the content, and, among other things, a direct link to a streaming audio server.&nbsp; Although it is relatively easy to parse wax, asx, and m3u shortcuts and extract required links from them, it is not TWMStreamedIn&rsquo;s job.&nbsp; The component expects a direct link to a wma/mp3 file or a network stream to be assigned to its &lt;Filename&gt; property.&nbsp; See also the <a href="#TWMStreamedIn.LoggingURL" class=LProperty id=link161 onMouseOver="ShowTip(event, 'tt38', 'link161')" onMouseOut="HideTip('tt38')">LoggingURL</a> property.</p><p>If you write a live audio player, you have to take care about http links traversal and shortcuts parsing.&nbsp; I-Radio demo that accompanies NewAC, uses preset links to several live audio servers.</p><p>This decoder is not seekable.</p><p>Descends from <a href="ACS_Classes-pas.html#TAuTaggedFileIn" class=LClass id=link162 onMouseOver="ShowTip(event, 'tt63', 'link162')" onMouseOut="HideTip('tt63')">TAuTaggedFileIn</a>.</p><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SGroup"><td class=SEntry><a href="#TWMStreamedIn.Properties" >Properties</a></td><td class=SDescription></td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#TWMStreamedIn.HasAudio" id=link145 onMouseOver="ShowTip(event, 'tt30', 'link145')" onMouseOut="HideTip('tt30')">HasAudio</a></td><td class=SDescription>Read this property to determine if the input file has an audio stream. </td></tr><tr class="SProperty SIndent1"><td class=SEntry><a href="#TWMStreamedIn.Bitrate" id=link146 onMouseOver="ShowTip(event, 'tt31', 'link146')" onMouseOut="HideTip('tt31')">Bitrate</a></td><td class=SDescription>Read this property to get the file&rsquo;s bitrate. </td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#TWMStreamedIn.Id3v2Tags" id=link147 onMouseOver="ShowTip(event, 'tt32', 'link147')" onMouseOut="HideTip('tt32')">Id3v2Tags</a></td><td class=SDescription>This property contains file&rsquo;s tags in Id3v2 format.</td></tr><tr class="SProperty SIndent1"><td class=SEntry><a href="#TWMStreamedIn.TimedOut" id=link148 onMouseOver="ShowTip(event, 'tt33', 'link148')" onMouseOut="HideTip('tt33')">TimedOut</a></td><td class=SDescription>This property indicates if some network operation has timed out. </td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#TWMStreamedIn.BufferingTime" id=link149 onMouseOver="ShowTip(event, 'tt34', 'link149')" onMouseOut="HideTip('tt34')">BufferingTime</a></td><td class=SDescription>This property allows you to set the size of internal buffer in terms of playback duration. </td></tr><tr class="SProperty SIndent1"><td class=SEntry><a href="#TWMStreamedIn.EnableHTTP" id=link150 onMouseOver="ShowTip(event, 'tt35', 'link150')" onMouseOut="HideTip('tt35')">EnableHTTP</a></td><td class=SDescription>Use this property to enable or disable HTTP support. </td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#TWMStreamedIn.EnableTCP" id=link151 onMouseOver="ShowTip(event, 'tt36', 'link151')" onMouseOut="HideTip('tt36')">EnableTCP</a></td><td class=SDescription>Use this property to enable or disable TCP support. </td></tr><tr class="SProperty SIndent1"><td class=SEntry><a href="#TWMStreamedIn.EnableUDP" id=link152 onMouseOver="ShowTip(event, 'tt37', 'link152')" onMouseOut="HideTip('tt37')">EnableUDP</a></td><td class=SDescription>Use this property to enable or disable UDP support. </td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#TWMStreamedIn.LoggingURL" id=link153 onMouseOver="ShowTip(event, 'tt38', 'link153')" onMouseOut="HideTip('tt38')">LoggingURL</a></td><td class=SDescription>Use this property to set a logging URL, if you have one. </td></tr><tr class="SProperty SIndent1"><td class=SEntry><a href="#TWMStreamedIn.MaxWaitMilliseconds" id=link154 onMouseOver="ShowTip(event, 'tt39', 'link154')" onMouseOut="HideTip('tt39')">MaxWaitMilliseconds</a></td><td class=SDescription>This property allows you to set the maximum waiting time for some network operations to complete. </td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#TWMStreamedIn.ProxyProtocol" id=link155 onMouseOver="ShowTip(event, 'tt40', 'link155')" onMouseOut="HideTip('tt40')">ProxyProtocol</a></td><td class=SDescription>If your application requires a proxy to connect to Internet, use this property to set the proxy protocol.</td></tr><tr class="SProperty SIndent1"><td class=SEntry><a href="#TWMStreamedIn.ProxyHost" id=link156 onMouseOver="ShowTip(event, 'tt41', 'link156')" onMouseOut="HideTip('tt41')">ProxyHost</a></td><td class=SDescription>If your application requires a proxy to connect to Internet, use this property to set the proxy host name.</td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#TWMStreamedIn.ProxyPort" id=link157 onMouseOver="ShowTip(event, 'tt42', 'link157')" onMouseOut="HideTip('tt42')">ProxyPort</a></td><td class=SDescription>If your application requires a proxy to connect to Internet, use this property to set the proxy port value.</td></tr><tr class="SProperty SIndent1"><td class=SEntry><a href="#TWMStreamedIn.StretchFactor" id=link158 onMouseOver="ShowTip(event, 'tt43', 'link158')" onMouseOut="HideTip('tt43')">StretchFactor</a></td><td class=SDescription>Use this property to change the speed at with content is delivered to the component. </td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#TWMStreamedIn.OnStreamOpened" id=link159 onMouseOver="ShowTip(event, 'tt44', 'link159')" onMouseOut="HideTip('tt44')">OnStreamOpened</a></td><td class=SDescription>This event informs you that the audio stream has been opened successfully.</td></tr><tr class="SProperty SIndent1"><td class=SEntry><a href="#TWMStreamedIn.OnStartedPlaying" id=link160 onMouseOver="ShowTip(event, 'tt45', 'link160')" onMouseOut="HideTip('tt45')">OnStartedPlaying</a></td><td class=SDescription>This event informs you that the decoder has decoded the first chunk of audio data.</td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>

<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="TWMStreamedIn.Properties"></a>Properties</h3></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMStreamedIn.HasAudio"></a>HasAudio</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property HasAudio : Boolean read GetHasAudio</td></tr></table></blockquote><p>Read this property to determine if the input file has an audio stream.&nbsp; The False value indicates that either an audio stream is missing (in WMV file) or the input file is corrupt.</p><h4 class=CHeading>Note</h4><p>Windows Media files may contain several audio streams.&nbsp; In the current version TWMIn reads data only from the first audio stream it finds.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMStreamedIn.Bitrate"></a>Bitrate</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property Bitrate : LongWord read FBitrate</td></tr></table></blockquote><p>Read this property to get the file&rsquo;s bitrate.&nbsp; Note: for video and multi-streamed files the total bitrate is returned.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMStreamedIn.Id3v2Tags"></a>Id3v2Tags</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property Id3v2Tags : TId3v2Tags read GetId3v2Tags</td></tr></table></blockquote><p>This property contains file&rsquo;s tags in Id3v2 format.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMStreamedIn.TimedOut"></a>TimedOut</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property TimedOut : Boolean read GetTimedOut</td></tr></table></blockquote><p>This property indicates if some network operation has timed out.&nbsp; If the timeout has occurred, the component reports the end of data.&nbsp; You can change the time the component waits before timeout in the <a href="#TWMStreamedIn.MaxWaitMilliseconds" class=LProperty id=link163 onMouseOver="ShowTip(event, 'tt39', 'link163')" onMouseOut="HideTip('tt39')">MaxWaitMilliseconds</a> property.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMStreamedIn.BufferingTime"></a>BufferingTime</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property BufferingTime : Word read FBufferingTime write SetBufferingTime</td></tr></table></blockquote><p>This property allows you to set the size of internal buffer in terms of playback duration.&nbsp; The value of this property should be buffer&rsquo;s playback time in seconds raging from 1 to 60.&nbsp; Larger buffering time imposes some delay at the beginning of the playback, but helps to provide smoother playback later.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMStreamedIn.EnableHTTP"></a>EnableHTTP</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property EnableHTTP : Boolean read FEnableHTTP write FEnableHTTP</td></tr></table></blockquote><p>Use this property to enable or disable HTTP support.&nbsp; This property&rsquo;s value matters only if the URL supplied to &lt;TAuFileIn.FileName&gt; has no protocol prefix, such as &ldquo;http:&rdquo;, &ldquo;mms:&rdquo; or &ldquo;rtsp:&rdquo;.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMStreamedIn.EnableTCP"></a>EnableTCP</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property EnableTCP : Boolean read FEnableTCP write FEnableTCP</td></tr></table></blockquote><p>Use this property to enable or disable TCP support.&nbsp; This property&rsquo;s value matters only if the URL supplied to &lt;TAuFileIn.FileName&gt; has no protocol prefix, such as &ldquo;http:&rdquo;, &ldquo;mms:&rdquo; or &ldquo;rtsp:&rdquo;.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMStreamedIn.EnableUDP"></a>EnableUDP</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property EnableUDP : Boolean read FEnableUDP write FEnableUDP</td></tr></table></blockquote><p>Use this property to enable or disable UDP support.&nbsp; This property&rsquo;s value matters only if the URL supplied to &lt;TAuFileIn.FileName&gt; has no protocol prefix, such as &ldquo;http:&rdquo;, &ldquo;mms:&rdquo; or &ldquo;rtsp:&rdquo;.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMStreamedIn.LoggingURL"></a>LoggingURL</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property LoggingURL : String read FLoggingURL write FLoggingURL</td></tr></table></blockquote><p>Use this property to set a logging URL, if you have one.&nbsp; Logging URLs may be obtained from wax, asx, or m3u shortcuts.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMStreamedIn.MaxWaitMilliseconds"></a>MaxWaitMilliseconds</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property MaxWaitMilliseconds : LongWord read FMaxWait write FMaxWait</td></tr></table></blockquote><p>This property allows you to set the maximum waiting time for some network operations to complete.&nbsp; The time is set in milliseconds.&nbsp; If this time is exceeded, the <a href="#TWMStreamedIn.TimedOut" class=LProperty id=link164 onMouseOver="ShowTip(event, 'tt33', 'link164')" onMouseOut="HideTip('tt33')">TimedOut</a> property is set to True and the component stops its operation.&nbsp; The default value of this property is 10000 (10 seconds).&nbsp; Setting this property&rsquo;s value too low will result in too many premature timeouts.&nbsp; Setting it too high will mean that you will have to wait too long just to learn that the remote server could not be reached.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMStreamedIn.ProxyProtocol"></a>ProxyProtocol</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property ProxyProtocol : String read FProxyProtocol write FProxyProtocol</td></tr></table></blockquote><p>If your application requires a proxy to connect to Internet, use this property to set the proxy protocol.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMStreamedIn.ProxyHost"></a>ProxyHost</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property ProxyHost : String read FProxyHost write FProxyHost</td></tr></table></blockquote><p>If your application requires a proxy to connect to Internet, use this property to set the proxy host name.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMStreamedIn.ProxyPort"></a>ProxyPort</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property ProxyPort : LongWord read FProxyPort write FProxyPort</td></tr></table></blockquote><p>If your application requires a proxy to connect to Internet, use this property to set the proxy port value.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMStreamedIn.StretchFactor"></a>StretchFactor</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property StretchFactor : Single read FStretchFactor write FStretchFactor</td></tr></table></blockquote><p>Use this property to change the speed at with content is delivered to the component.&nbsp; The default value is 1.0.&nbsp; Possible values range from 1.0 to 10.0 and from -10.0 to -1.0.&nbsp; This property has no effect when handling live audio.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMStreamedIn.OnStreamOpened"></a>OnStreamOpened</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property OnStreamOpened : TStreamedAudioEvent read FOnStreamOpened write FOnStreamOpened</td></tr></table></blockquote><p>This event informs you that the audio stream has been opened successfully.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMStreamedIn.OnStartedPlaying"></a>OnStartedPlaying</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property OnStartedPlaying : TStreamedAudioEvent read FOnStartedPlaying write FOnStartedPlaying</td></tr></table></blockquote><p>This event informs you that the decoder has decoded the first chunk of audio data.</p></div></div></div>

<div class="CClass"><div class=CTopic><h2 class=CTitle><a name="TWMStreamedOut"></a>TWMStreamedOut</h2><div class=CBody><p>This component can stream Windows Media audio over HTTP in local or global networks.&nbsp; You can listen to the streamed audio using such players as Windows Media Player, WinAmp, or NewAC demo i-Radio.&nbsp; Audio stream is not a file.&nbsp; You cannot download it to your hard drive (but you can record it).&nbsp; When connecting to the audio-streaming host from a player, don&rsquo;t forget to use http: prefix or the player will not know what protocol to use.</p><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SGroup"><td class=SEntry><a href="#TWMStreamedOut.Properties" >Properties</a></td><td class=SDescription></td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#TWMStreamedOut.ConnectionsCount" id=link165 onMouseOver="ShowTip(event, 'tt46', 'link165')" onMouseOut="HideTip('tt46')">ConnectionsCount</a></td><td class=SDescription>The number of incoming connections.</td></tr><tr class="SProperty SIndent1"><td class=SEntry><a href="#TWMStreamedOut.Connections[Index:Integer]" id=link166 onMouseOver="ShowTip(event, 'tt47', 'link166')" onMouseOut="HideTip('tt47')">Connections[Index : Integer]</a></td><td class=SDescription>Use this property to get an information about an incoming connection. </td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#TWMStreamedOut.URL" id=link167 onMouseOver="ShowTip(event, 'tt48', 'link167')" onMouseOut="HideTip('tt48')">URL</a></td><td class=SDescription>Use this property to get the transmitting host URL. </td></tr><tr class="SProperty SIndent1"><td class=SEntry><a href="#TWMStreamedOut.MaxClients" id=link168 onMouseOver="ShowTip(event, 'tt49', 'link168')" onMouseOut="HideTip('tt49')">MaxClients</a></td><td class=SDescription>The maximum number of incoming connctions allowed. </td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#TWMStreamedOut.Port" id=link169 onMouseOver="ShowTip(event, 'tt50', 'link169')" onMouseOut="HideTip('tt50')">Port</a></td><td class=SDescription>The number of port on which the component will listen for incoming connections.</td></tr><tr class="SProperty SIndent1"><td class=SEntry><a href="#TWMStreamedOut.OnClientConnected" id=link170 onMouseOver="ShowTip(event, 'tt51', 'link170')" onMouseOut="HideTip('tt51')">OnClientConnected</a></td><td class=SDescription>The OnClientConnected event is raised when a new client connects to the transmitter.</td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#TWMStreamedOut.OnClientDisconnected" id=link171 onMouseOver="ShowTip(event, 'tt52', 'link171')" onMouseOut="HideTip('tt52')">OnClientDisconnected</a></td><td class=SDescription>The OnClientDisconnected event is raised when a client disconnects from the transmitter.</td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>

<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="TWMStreamedOut.Properties"></a>Properties</h3></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMStreamedOut.ConnectionsCount"></a>ConnectionsCount</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property ConnectionsCount : LongWord read GetConnectionsCount</td></tr></table></blockquote><p>The number of incoming connections.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMStreamedOut.Connections[Index:Integer]"></a>Connections[Index : Integer]</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property Connections[Index : Integer] : TConnectionInfo read GetConnectionInfo</td></tr></table></blockquote><p>Use this property to get an information about an incoming connection.&nbsp; Valid Index values range from 0 to <a href="#TWMStreamedOut.ConnectionsCount" class=LProperty id=link172 onMouseOver="ShowTip(event, 'tt46', 'link172')" onMouseOut="HideTip('tt46')">ConnectionsCount</a> - 1.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMStreamedOut.URL"></a>URL</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property URL : String read GetURL</td></tr></table></blockquote><p>Use this property to get the transmitting host URL.&nbsp; This URL usually takes form <a href="http://your_host_name:" class=LURL target=_top>http://your_host_name:</a>&lt;Port&gt;.&nbsp; The URL value becomes available only after you call Run and not at once.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMStreamedOut.MaxClients"></a>MaxClients</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property MaxClients : LongWord read FMaxClients write FMaxClients</td></tr></table></blockquote><p>The maximum number of incoming connctions allowed.&nbsp; If this property is set to 0 (the default value) the number of incoming conections is not limited.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMStreamedOut.Port"></a>Port</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property Port : LongWord read FPort write FPort</td></tr></table></blockquote><p>The number of port on which the component will listen for incoming connections.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMStreamedOut.OnClientConnected"></a>OnClientConnected</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property OnClientConnected : TStreamedAudioEvent read FOnClientConnected write FOnClientConnected</td></tr></table></blockquote><p>The OnClientConnected event is raised when a new client connects to the transmitter.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMStreamedOut.OnClientDisconnected"></a>OnClientDisconnected</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property OnClientDisconnected : TStreamedAudioEvent read FOnClientDisconnected write FOnClientDisconnected</td></tr></table></blockquote><p>The OnClientDisconnected event is raised when a client disconnects from the transmitter.</p></div></div></div>

<div class="CClass"><div class=CTopic><h2 class=CTitle><a name="TWMADualPassOut"></a>TWMADualPassOut</h2><div class=CBody><p>This component implements Windows Media Audio 2-pass encoder.&nbsp; TWMADualPassOut supports CBR/VBR lossy encoding in formats available for the 2-pass encoder.&nbsp; In order o perform 2-pass encoding TWMADualPassOut reads audio data from its input component twice.&nbsp; This puts some constraints on what TWMADualPassOut&rsquo;s input may be (it should be a TAuFileIn-descending component).&nbsp; This component descends from <a href="ACS_Classes-pas.html#TAuTaggedFileOut" class=LClass id=link183 onMouseOver="ShowTip(event, 'tt64', 'link183')" onMouseOut="HideTip('tt64')">TAuTaggedFileOut</a>.</p><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SGroup"><td class=SEntry><a href="#TWMADualPassOut.Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#TWMADualPassOut.GetFormatDesc" id=link173 onMouseOver="ShowTip(event, 'tt53', 'link173')" onMouseOut="HideTip('tt53')">GetFormatDesc</a></td><td class=SDescription>This method returns a format description based on the CodecIndex and FormatIndex parameters.</td></tr><tr class="SGroup"><td class=SEntry><a href="#TWMADualPassOut.Properties" >Properties</a></td><td class=SDescription></td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#TWMADualPassOut.Codecs" id=link174 onMouseOver="ShowTip(event, 'tt54', 'link174')" onMouseOut="HideTip('tt54')">Codecs</a></td><td class=SDescription>Returns the names of all the WMA codecs installed in the system.</td></tr><tr class="SProperty SIndent1"><td class=SEntry><a href="#TWMADualPassOut.CodecsCount" id=link175 onMouseOver="ShowTip(event, 'tt55', 'link175')" onMouseOut="HideTip('tt55')">CodecsCount</a></td><td class=SDescription>Returns the total number of the WMA codecs available in the system.</td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#TWMADualPassOut.CodecIndex" id=link176 onMouseOver="ShowTip(event, 'tt56', 'link176')" onMouseOut="HideTip('tt56')">CodecIndex</a></td><td class=SDescription>Use this property to set the index number of the codec to use when encoding. </td></tr><tr class="SProperty SIndent1"><td class=SEntry><a href="#TWMADualPassOut.CodecName" id=link177 onMouseOver="ShowTip(event, 'tt57', 'link177')" onMouseOut="HideTip('tt57')">CodecName</a></td><td class=SDescription>Returns the name of the WMA codec specified by its index. </td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#TWMADualPassOut.FormatIndex" id=link178 onMouseOver="ShowTip(event, 'tt58', 'link178')" onMouseOut="HideTip('tt58')">FormatIndex</a></td><td class=SDescription>Use this property to set the index of the format to encode data. </td></tr><tr class="SProperty SIndent1"><td class=SEntry><a href="#TWMADualPassOut.Formats" id=link179 onMouseOver="ShowTip(event, 'tt59', 'link179')" onMouseOut="HideTip('tt59')">Formats</a></td><td class=SDescription>Returns the names of all formats supported by the codec, specified by the Index and the current encoding mode. </td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#TWMADualPassOut.FormatsCount" id=link180 onMouseOver="ShowTip(event, 'tt60', 'link180')" onMouseOut="HideTip('tt60')">FormatsCount</a></td><td class=SDescription>Returns the total number of formats supported by the codec, specified by its index, and the current encoding mode. </td></tr><tr class="SProperty SIndent1"><td class=SEntry><a href="#TWMADualPassOut.Id3v2Tags" id=link181 onMouseOver="ShowTip(event, 'tt61', 'link181')" onMouseOut="HideTip('tt61')">Id3v2Tags</a></td><td class=SDescription>Set an output file&rsquo;s tags in Id3v2 format.</td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#TWMADualPassOut.VBR" id=link182 onMouseOver="ShowTip(event, 'tt62', 'link182')" onMouseOut="HideTip('tt62')">VBR</a></td><td class=SDescription>Use this property to switch between constant bitrate and variable bitrate encoding modes.</td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>

<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="TWMADualPassOut.Functions"></a>Functions</h3></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="TWMADualPassOut.GetFormatDesc"></a>GetFormatDesc</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>function GetFormatDesc(</td><td class=PParameter nowrap>CodecIndex,</td><td class=PType nowrap>&nbsp;</td></tr><tr><td></td><td class=PParameter nowrap>FormatIndex :</td><td class=PType nowrap>&nbsp;Word</td><td class=PAfterParameters nowrap>) : String</td></tr></table></td></tr></table></blockquote><p>This method returns a format description based on the CodecIndex and FormatIndex parameters.</p></div></div></div>

<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="TWMADualPassOut.Properties"></a>Properties</h3></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMADualPassOut.Codecs"></a>Codecs</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property Codecs : TStringList read GetCodecs</td></tr></table></blockquote><p>Returns the names of all the WMA codecs installed in the system.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMADualPassOut.CodecsCount"></a>CodecsCount</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property CodecsCount : Word read GetCodecsCount</td></tr></table></blockquote><p>Returns the total number of the WMA codecs available in the system.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMADualPassOut.CodecIndex"></a>CodecIndex</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property CodecIndex : Integer read FCodecIndex write FCodecIndex</td></tr></table></blockquote><p>Use this property to set the index number of the codec to use when encoding.&nbsp; The valid values for this property range from 0 to <a href="#TWMADualPassOut.CodecsCount" class=LProperty id=link184 onMouseOver="ShowTip(event, 'tt55', 'link184')" onMouseOut="HideTip('tt55')">CodecsCount</a> - 1.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMADualPassOut.CodecName"></a>CodecName</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property CodecName[Index : Word] : String read GetCodecName</td></tr></table></blockquote><p>Returns the name of the WMA codec specified by its index.&nbsp; The valid indices range from 0 to <a href="#TWMADualPassOut.CodecsCount" class=LProperty id=link185 onMouseOver="ShowTip(event, 'tt55', 'link185')" onMouseOut="HideTip('tt55')">CodecsCount</a> -1.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMADualPassOut.FormatIndex"></a>FormatIndex</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property FormatIndex : Integer read FFormatIndex write FFormatIndex</td></tr></table></blockquote><p>Use this property to set the index of the format to encode data.&nbsp; Valid values range from 0 to <a href="#TWMADualPassOut.FormatsCount" class=LProperty id=link186 onMouseOver="ShowTip(event, 'tt60', 'link186')" onMouseOut="HideTip('tt60')">FormatsCount</a> -1.&nbsp; This property has an effect only if <a href="#TWMADualPassOut.CodecIndex" class=LProperty id=link187 onMouseOver="ShowTip(event, 'tt56', 'link187')" onMouseOut="HideTip('tt56')">CodecIndex</a> is greater than -1.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMADualPassOut.Formats"></a>Formats</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property Formats[Index : Word] : TStringList read GetFormats</td></tr></table></blockquote><p>Returns the names of all formats supported by the codec, specified by the Index and the current encoding mode.&nbsp; See the Wav2WMA2 demo for an example.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMADualPassOut.FormatsCount"></a>FormatsCount</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property FormatsCount[index : Word] : Word read GetFormatsCount</td></tr></table></blockquote><p>Returns the total number of formats supported by the codec, specified by its index, and the current encoding mode.&nbsp; The valid indices range from 0 to <a href="#TWMADualPassOut.CodecsCount" class=LProperty id=link188 onMouseOver="ShowTip(event, 'tt55', 'link188')" onMouseOut="HideTip('tt55')">CodecsCount</a> -1.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMADualPassOut.Id3v2Tags"></a>Id3v2Tags</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property Id3v2Tags</td></tr></table></blockquote><p>Set an output file&rsquo;s tags in Id3v2 format.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWMADualPassOut.VBR"></a>VBR</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property VBR : Boolean read FVBR write FVBR</td></tr></table></blockquote><p>Use this property to switch between constant bitrate and variable bitrate encoding modes.</p></div></div></div>

</div><!--Content-->


<div id=Footer>Content &copy; 2008 Andrei Borovsky. Design &copy; 2008 Wayne Thursby. <b><u><a href="http://symmetrica.net/newac">Go to the project's main page</a></u></b>&nbsp; &middot;&nbsp; <a href="http://www.naturaldocs.org">Generated by Natural Docs</a></div><!--Footer-->


<div id=Menu><div class=MTitle>NewAC<div class=MSubTitle>v1.7.1</div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent1')">Documentation</a><div class=MGroupContent id=MGroupContent1><div class=MEntry><div class=MFile><a href="../doc/txt/introduction-txt.html">Quick Introduction to NewAC</a></div></div><div class=MEntry><div class=MFile><a href="../doc/txt/about_documentation-txt.html">About the Documentation</a></div></div><div class=MEntry><div class=MFile><a href="../doc/txt/cwguide-txt.html">Component Writer&rsquo;s Guide</a></div></div><div class=MEntry><div class=MFile><a href="../doc/txt/license-txt.html">License</a></div></div><div class=MEntry><div class=MFile><a href="../doc/txt/tips_and_tricks-txt.html">Tips &amp; Tricks</a></div></div><div class=MEntry><div class=MFile><a href="../doc/txt/newac-txt.html">About New Audio Components</a></div></div><div class=MEntry><div class=MFile><a href="../doc/txt/features-txt.html">NewAC Main Features List</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent2')">Main Units</a><div class=MGroupContent id=MGroupContent2><div class=MEntry><div class=MFile><a href="ACS_AudioMix-pas.html">ACS_AudioMix</a></div></div><div class=MEntry><div class=MFile><a href="ACS_CDROM-pas.html">ACS_CDROM</a></div></div><div class=MEntry><div class=MFile><a href="ACS_Classes-pas.html">ACS_Classes</a></div></div><div class=MEntry><div class=MFile><a href="ACS_Converters-pas.html">ACS_Converters</a></div></div><div class=MEntry><div class=MFile><a href="ACS_DXAudio-pas.html">ACS_DXAudio</a></div></div><div class=MEntry><div class=MFile><a href="ACS_FLAC-pas.html">ACS_FLAC</a></div></div><div class=MEntry><div class=MFile><a href="ACS_Filters-pas.html">ACS_Filters</a></div></div><div class=MEntry><div class=MFile><a href="ACS_LAME-pas.html">ACS_LAME</a></div></div><div class=MEntry><div class=MFile><a href="ACS_MAC-pas.html">ACS_MAC</a></div></div><div class=MEntry><div class=MFile><a href="ACS_MPC-pas.html">ACS_MPC</a></div></div><div class=MEntry><div class=MFile><a href="ACS_OptimFROG-pas.html">ACS_OptimFROG</a></div></div><div class=MEntry><div class=MFile><a href="ACS_smpeg-pas.html">ACS_SMPEG</a></div></div><div class=MEntry><div class=MFile><a href="ACS_Streams-pas.html">ACS_Streams</a></div></div><div class=MEntry><div class=MFile><a href="ACS_TTA-pas.html">ACS_TTA</a></div></div><div class=MEntry><div class=MFile><a href="ACS_Tags-pas.html">ACS_Tags</a></div></div><div class=MEntry><div class=MFile><a href="ACS_Vorbis-pas.html">ACS_Vorbis</a></div></div><div class=MEntry><div class=MFile><a href="ACS_WavPack-pas.html">ACS_WavPack</a></div></div><div class=MEntry><div class=MFile><a href="ACS_Wave-pas.html">ACS_Wave</a></div></div><div class=MEntry><div class=MFile id=MSelected>ACS_WinMedia</div></div><div class=MEntry><div class=MFile><a href="AudioDMO-pas.html">AudioDMO</a></div></div><div class=MEntry><div class=MFile><a href="AudioPass-pas.html">AudioPass</a></div></div><div class=MEntry><div class=MFile><a href="AuSampleRate-pas.html">AuSampleRate</a></div></div><div class=MEntry><div class=MFile><a href="NewAC_AVI-pas.html">NewAC_AVI</a></div></div><div class=MEntry><div class=MFile><a href="libsamplerate-pas.html">libsamplerate.pas</a></div></div><div class=MEntry><div class=MFile><a href="MACDll-pas.html">MACDll.pas</a></div></div><div class=MEntry><div class=MFile><a href="ogg-pas.html">ogg.pas</a></div></div><div class=MEntry><div class=MFile><a href="ovencode-pas.html">ovencode</a></div></div><div class=MEntry><div class=MFile><a href="VorbisEnc-pas.html">VorbisEnc.pas</a></div></div><div class=MEntry><div class=MFile><a href="VorbisFile-pas.html">VorbisFile.pas</a></div></div><div class=MEntry><div class=MFile><a href="WaveConverter-pas.html">WaveConverter.pas</a></div></div><div class=MEntry><div class=MFile><a href="WavPackDLL-pas.html">WavPackDLL</a></div></div><div class=MEntry><div class=MFile><a href="wmfintf-pas.html">wmfintf.pas</a></div></div><div class=MEntry><div class=MFile><a href="NewAC_DSP-pas.html">NewAC_DSP</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent3')">Converted C/C++ Headers</a><div class=MGroupContent id=MGroupContent3><div class=MEntry><div class=MFile><a href="CDRip-pas.html">CDRip</a></div></div><div class=MEntry><div class=MFile><a href="Codec-pas.html">Codec</a></div></div><div class=MEntry><div class=MFile><a href="DSWrapper-pas.html">DSWrapper</a></div></div><div class=MEntry><div class=MFile><a href="FLAC-pas.html">FLAC</a></div></div><div class=MEntry><div class=MFile><a href="libwma1-pas.html">libwma1.pas</a></div></div><div class=MEntry><div class=MFile><a href="_DirectSound-pas.html">_DirectSound</a></div></div><div class=MEntry><div class=MFile><a href="_DXTypes-pas.html">_DXTypes</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent4')">Utility Units</a><div class=MGroupContent id=MGroupContent4><div class=MEntry><div class=MFile><a href="ACS_Misc-pas.html">ACS_Misc</a></div></div><div class=MEntry><div class=MFile><a href="ACS_Procs-pas.html">ACS_Procs</a></div></div><div class=MEntry><div class=MFile><a href="acs_reg-pas.html">ACS_Reg</a></div></div><div class=MEntry><div class=MFile><a href="ACS_Types-pas.html">ACS_Types</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent5')">Tutorials</a><div class=MGroupContent id=MGroupContent5><div class=MEntry><div class=MFile><a href="../demos/Tutorial/AudioProcessor/Main-pas.html">Audio Processor</a></div></div><div class=MEntry><div class=MFile><a href="../demos/Tutorial/ComponentsDemo/ComponentsDemo-pas.html">Components Demo</a></div></div><div class=MEntry><div class=MFile><a href="../demos/Recorders-rippers/Rip'n'listen/Main-pas.html">Rip&rsquo;n&rsquo;Listen Demo</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent6')">DUnit</a><div class=MGroupContent id=MGroupContent6><div class=MEntry><div class=MFile><a href="../dunit/Test_ACS_FLAC-pas.html">ACS_FLAC TestCases</a></div></div><div class=MEntry><div class=MFile><a href="../dunit/Test_ACS_MAC-pas.html">ACS_MAC TestCases</a></div></div><div class=MEntry><div class=MFile><a href="../dunit/Test_ACS_WavPack-pas.html">ACS_WavPack TestCases</a></div></div><div class=MEntry><div class=MFile><a href="../dunit/uLog-pas.html">uLog</a></div></div><div class=MEntry><div class=MFile><a href="../dunit/uTestBase-pas.html">uTestBase</a></div></div><div class=MEntry><div class=MFile><a href="../dunit/uUtility-pas.html">uUtility</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent7')">Index</a><div class=MGroupContent id=MGroupContent7><div class=MEntry><div class=MIndex><a href="../../index/General.html">Everything</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Classes.html">Classes</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Constants.html">Constants</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Files.html">Files</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Functions.html">Functions</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Properties.html">Properties</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Types.html">Types</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Variables.html">Variables</a></div></div></div></div></div><script type="text/javascript"><!--
var searchPanel = new SearchPanel("searchPanel", "HTML", "../../search");
--></script><div id=MSearchPanel class=MSearchPanelInactive><input type=text id=MSearchField value=Search onFocus="searchPanel.OnSearchFieldFocus(true)" onBlur="searchPanel.OnSearchFieldFocus(false)" onKeyUp="searchPanel.OnSearchFieldChange()"><select id=MSearchType onFocus="searchPanel.OnSearchTypeFocus(true)" onBlur="searchPanel.OnSearchTypeFocus(false)" onChange="searchPanel.OnSearchTypeChange()"><option  id=MSearchEverything selected value="General">Everything</option><option value="Classes">Classes</option><option value="Constants">Constants</option><option value="Files">Files</option><option value="Functions">Functions</option><option value="Properties">Properties</option><option value="Types">Types</option><option value="Variables">Variables</option></select></div><script language=JavaScript><!--
HideAllBut([2], 8);// --></script></div><!--Menu-->



<!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property FormatsCount : LongWord read GetFormatsCount</td></tr></table></blockquote>WMA decoders allow the program to read input data in several formats (each format is a set of channels, bits per sample and sample rate numbers. </div></div><div class=CToolTip id="tt2"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property FormatSpec[Index : Integer] : TWMAFormatSpec read GetFormatSpec</td></tr></table></blockquote>Read this property to get the parameters of the format specified by its Index. </div></div><div class=CToolTip id="tt3"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property FormatSelected : Integer read FFormat write SetFormat</td></tr></table></blockquote>Use this property to set the desired format for the decoder&rsquo;s output. </div></div><div class=CToolTip id="tt4"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property HasAudio : Boolean read GetHasAudio</td></tr></table></blockquote>Read this property to determine if the input file has an audio stream. </div></div><div class=CToolTip id="tt5"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property IsProtected : Boolean read GetProtected</td></tr></table></blockquote>If the value of this property is True, the file is DRM-protected and hence not supported. </div></div><div class=CToolTip id="tt6"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property Bitrate : LongWord read GetBitrate</td></tr></table></blockquote>Read this property to get the file&rsquo;s bitrate.</div></div><div class=CToolTip id="tt7"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property Id3v2Tags : TId3v2Tags read GetId3v2Tags</td></tr></table></blockquote>This property contains file&rsquo;s tags in Id3v2 format.</div></div><div class=CToolTip id="tt8"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property IsVBR : Boolean read GetIsVBR</td></tr></table></blockquote>This property&rsquo;s value is True if the input file is VBR-encoded and False otherwise.</div></div><div class=CToolTip id="tt9"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property HighPrecision : Boolean read FHighPrecision write SetHighPrecision</td></tr></table></blockquote>Use HighPrecision to set the high precision decoding mode on or off. </div></div><div class=CToolTip id="tt10"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property OutputChannels : TChannelsNumber read FOutputChannels write SetOutputChannels</td></tr></table></blockquote>Sets the number of channels for decoder output.</div></div><div class=CToolTip id="tt11"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>function GetFormatDesc(</td><td class=PParameter nowrap>CodecIndex,</td><td class=PType nowrap>&nbsp;</td></tr><tr><td></td><td class=PParameter nowrap>FormatIndex :</td><td class=PType nowrap>&nbsp;Word</td><td class=PAfterParameters nowrap>) : String</td></tr></table></td></tr></table></blockquote>This method returns a format description based on the CodecIndex and FormatIndex parameters.</div></div><div class=CToolTip id="tt12"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property Codecs : TStringList read GetCodecs</td></tr></table></blockquote>Returns the names of all the WMA codecs installed in the system.</div></div><div class=CToolTip id="tt13"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property CodecsCount : Word read GetCodecsCount</td></tr></table></blockquote>Returns the total number of the WMA codecs available in the system.</div></div><div class=CToolTip id="tt14"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property CodecIndex : Integer read FCodecIndex write FCodecIndex</td></tr></table></blockquote>Use this property to set the index number of the codec to use when encoding. </div></div><div class=CToolTip id="tt15"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property CodecName[Index : Word] : String read GetCodecName</td></tr></table></blockquote>Returns the name of the WMA codec specified by its index. </div></div><div class=CToolTip id="tt16"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property FormatIndex : Integer read FFormatIndex write FFormatIndex</td></tr></table></blockquote>Use this property to set the index of the format to encode data. </div></div><div class=CToolTip id="tt17"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property Formats[Index : Word] : TStringList read GetFormats</td></tr></table></blockquote>Returns the names of all formats supported by the codec, specified by the Index and the current encoding mode. </div></div><div class=CToolTip id="tt18"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property FormatsCount[index : Word] : Word read GetFormatsCount</td></tr></table></blockquote>Returns the total number of formats supported by the codec, specified by its index, and the current encoding mode. </div></div><div class=CToolTip id="tt19"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property Id3v2Tags</td></tr></table></blockquote>Set an output file&rsquo;s tags in Id3v2 format.</div></div><div class=CToolTip id="tt20"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property DesiredBitrate : LongWord read FBitrate write FBitrate</td></tr></table></blockquote>Set the desired bitrate for an output file (in the constant bitrate lossy mode). </div></div><div class=CToolTip id="tt21"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property Lossless : Boolean read FLossless write FLossless</td></tr></table></blockquote>Use this property to switch between the lossless and lossy compression modes. </div></div><div class=CToolTip id="tt22"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property VBR : Boolean read FVBR write FVBR</td></tr></table></blockquote>Use this property to switch between constant bitrate and variable bitrate lossy encoding modes. </div></div><div class=CToolTip id="tt23"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property VBRQuality : Byte read FVBRQuality write FVBRQuality</td></tr></table></blockquote>Use this property to set the output audio quality in VBR mode. </div></div><div class=CToolTip id="tt24"><div class=CClass>This is the base class for all &ldquo;audio tap components&rdquo;. </div></div><div class=CToolTip id="tt25"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property Id3v2Tags : TId3v2Tags read FTags write SetId3v2Tags</td></tr></table></blockquote>Set an output file&rsquo;s tags in Id3v2 format.</div></div><div class=CToolTip id="tt26"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property DesiredBitrate : LongWord read FBitrate write FBitrate</td></tr></table></blockquote>Set the desired bitrate for an output file (in the constant bitrate lossy mode). </div></div><div class=CToolTip id="tt27"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property Lossless : Boolean read FLossless write FLossless</td></tr></table></blockquote>Use this property to switch between the lossless and lossy compression modes. </div></div><div class=CToolTip id="tt28"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property VBR : Boolean read FVBR write FVBR</td></tr></table></blockquote>Use this property to switch between constant bitrate and variable bitrate lossy encoding modes. </div></div><div class=CToolTip id="tt29"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property VBRQuality : Byte read FVBRQuality write FVBRQuality</td></tr></table></blockquote>Use this property to set the output audio quality in VBR mode. </div></div><div class=CToolTip id="tt30"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property HasAudio : Boolean read GetHasAudio</td></tr></table></blockquote>Read this property to determine if the input file has an audio stream. </div></div><div class=CToolTip id="tt31"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property Bitrate : LongWord read FBitrate</td></tr></table></blockquote>Read this property to get the file&rsquo;s bitrate. </div></div><div class=CToolTip id="tt32"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property Id3v2Tags : TId3v2Tags read GetId3v2Tags</td></tr></table></blockquote>This property contains file&rsquo;s tags in Id3v2 format.</div></div><div class=CToolTip id="tt33"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property TimedOut : Boolean read GetTimedOut</td></tr></table></blockquote>This property indicates if some network operation has timed out. </div></div><div class=CToolTip id="tt34"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property BufferingTime : Word read FBufferingTime write SetBufferingTime</td></tr></table></blockquote>This property allows you to set the size of internal buffer in terms of playback duration. </div></div><div class=CToolTip id="tt35"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property EnableHTTP : Boolean read FEnableHTTP write FEnableHTTP</td></tr></table></blockquote>Use this property to enable or disable HTTP support. </div></div><div class=CToolTip id="tt36"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property EnableTCP : Boolean read FEnableTCP write FEnableTCP</td></tr></table></blockquote>Use this property to enable or disable TCP support. </div></div><div class=CToolTip id="tt37"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property EnableUDP : Boolean read FEnableUDP write FEnableUDP</td></tr></table></blockquote>Use this property to enable or disable UDP support. </div></div><div class=CToolTip id="tt38"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property LoggingURL : String read FLoggingURL write FLoggingURL</td></tr></table></blockquote>Use this property to set a logging URL, if you have one. </div></div><div class=CToolTip id="tt39"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property MaxWaitMilliseconds : LongWord read FMaxWait write FMaxWait</td></tr></table></blockquote>This property allows you to set the maximum waiting time for some network operations to complete. </div></div><div class=CToolTip id="tt40"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property ProxyProtocol : String read FProxyProtocol write FProxyProtocol</td></tr></table></blockquote>If your application requires a proxy to connect to Internet, use this property to set the proxy protocol.</div></div><div class=CToolTip id="tt41"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property ProxyHost : String read FProxyHost write FProxyHost</td></tr></table></blockquote>If your application requires a proxy to connect to Internet, use this property to set the proxy host name.</div></div><div class=CToolTip id="tt42"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property ProxyPort : LongWord read FProxyPort write FProxyPort</td></tr></table></blockquote>If your application requires a proxy to connect to Internet, use this property to set the proxy port value.</div></div><div class=CToolTip id="tt43"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property StretchFactor : Single read FStretchFactor write FStretchFactor</td></tr></table></blockquote>Use this property to change the speed at with content is delivered to the component. </div></div><div class=CToolTip id="tt44"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property OnStreamOpened : TStreamedAudioEvent read FOnStreamOpened write FOnStreamOpened</td></tr></table></blockquote>This event informs you that the audio stream has been opened successfully.</div></div><div class=CToolTip id="tt45"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property OnStartedPlaying : TStreamedAudioEvent read FOnStartedPlaying write FOnStartedPlaying</td></tr></table></blockquote>This event informs you that the decoder has decoded the first chunk of audio data.</div></div><div class=CToolTip id="tt46"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property ConnectionsCount : LongWord read GetConnectionsCount</td></tr></table></blockquote>The number of incoming connections.</div></div><div class=CToolTip id="tt47"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property Connections[Index : Integer] : TConnectionInfo read GetConnectionInfo</td></tr></table></blockquote>Use this property to get an information about an incoming connection. </div></div><div class=CToolTip id="tt48"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property URL : String read GetURL</td></tr></table></blockquote>Use this property to get the transmitting host URL. </div></div><div class=CToolTip id="tt49"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property MaxClients : LongWord read FMaxClients write FMaxClients</td></tr></table></blockquote>The maximum number of incoming connctions allowed. </div></div><div class=CToolTip id="tt50"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property Port : LongWord read FPort write FPort</td></tr></table></blockquote>The number of port on which the component will listen for incoming connections.</div></div><div class=CToolTip id="tt51"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property OnClientConnected : TStreamedAudioEvent read FOnClientConnected write FOnClientConnected</td></tr></table></blockquote>The OnClientConnected event is raised when a new client connects to the transmitter.</div></div><div class=CToolTip id="tt52"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property OnClientDisconnected : TStreamedAudioEvent read FOnClientDisconnected write FOnClientDisconnected</td></tr></table></blockquote>The OnClientDisconnected event is raised when a client disconnects from the transmitter.</div></div><div class=CToolTip id="tt53"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>function GetFormatDesc(</td><td class=PParameter nowrap>CodecIndex,</td><td class=PType nowrap>&nbsp;</td></tr><tr><td></td><td class=PParameter nowrap>FormatIndex :</td><td class=PType nowrap>&nbsp;Word</td><td class=PAfterParameters nowrap>) : String</td></tr></table></td></tr></table></blockquote>This method returns a format description based on the CodecIndex and FormatIndex parameters.</div></div><div class=CToolTip id="tt54"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property Codecs : TStringList read GetCodecs</td></tr></table></blockquote>Returns the names of all the WMA codecs installed in the system.</div></div><div class=CToolTip id="tt55"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property CodecsCount : Word read GetCodecsCount</td></tr></table></blockquote>Returns the total number of the WMA codecs available in the system.</div></div><div class=CToolTip id="tt56"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property CodecIndex : Integer read FCodecIndex write FCodecIndex</td></tr></table></blockquote>Use this property to set the index number of the codec to use when encoding. </div></div><div class=CToolTip id="tt57"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property CodecName[Index : Word] : String read GetCodecName</td></tr></table></blockquote>Returns the name of the WMA codec specified by its index. </div></div><div class=CToolTip id="tt58"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property FormatIndex : Integer read FFormatIndex write FFormatIndex</td></tr></table></blockquote>Use this property to set the index of the format to encode data. </div></div><div class=CToolTip id="tt59"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property Formats[Index : Word] : TStringList read GetFormats</td></tr></table></blockquote>Returns the names of all formats supported by the codec, specified by the Index and the current encoding mode. </div></div><div class=CToolTip id="tt60"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property FormatsCount[index : Word] : Word read GetFormatsCount</td></tr></table></blockquote>Returns the total number of formats supported by the codec, specified by its index, and the current encoding mode. </div></div><div class=CToolTip id="tt61"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property Id3v2Tags</td></tr></table></blockquote>Set an output file&rsquo;s tags in Id3v2 format.</div></div><div class=CToolTip id="tt62"><div class=CProperty><blockquote><table border=0 cellspacing=0 cellpadding=0 class=Prototype><tr><td>property VBR : Boolean read FVBR write FVBR</td></tr></table></blockquote>Use this property to switch between constant bitrate and variable bitrate encoding modes.</div></div><div class=CToolTip id="tt63"><div class=CClass>Descends from TAuFileIn, this class is an ancestor of the file input components that use ID3V* tags.</div></div><div class=CToolTip id="tt64"><div class=CClass>Descends from TAuFileOut, this class is an ancestor of the file output components that use Id3v* tags.</div></div><div class=CToolTip id="tt65"><div class=CGeneric>The VBR and Lossless settings affect the values of Formats and FormatsCount properies. </div></div><!--END_ND_TOOLTIPS-->




<div id=MSearchResultsWindow><iframe src="" frameborder=0 name=MSearchResults id=MSearchResults></iframe><a href="javascript:searchPanel.CloseResultsWindow()" id=MSearchResultsWindowClose>Close</a></div>


<script language=JavaScript><!--
if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html>